home *** CD-ROM | disk | FTP | other *** search
- property pSpr
-
- on beginSprite me
- pSpr = sprite(me.spriteNum)
- dateLocs = [#AT: point(137, 190), #CG: point(136, 180), #EM: point(313, 195), #JF: point(190, 103), #JS: point(151, 348), #KY: point(311, 219), #LC: point(195, 92), #LG: point(140, 184), #LM: point(314, 206), #LN: point(137, 188), #RN: point(313, 294), #TF: point(311, 215), #XF: point(311, 203)]
- pCharCode = currentChar()
- thisChar = string(pCharCode)
- dateLoc = getaProp(dateLocs, pCharCode)
- if voidp(dateLoc) then
- pSpr.visible = 0
- exit
- end if
- pSpr.visible = 1
- pSpr.member.text = formatBirthDate(sprite(getActiveCharacter()).pBirthdate)
- pSpr.member.color = gray()
- pSpr.loc = dateLocs[pCharCode]
- end
-
- on endSprite
- pSpr.visible = 1
- end
-